package com.ccys.db.vo.consultation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
@Data
@ApiModel("BookingAppointmentWebVO")
@EqualsAndHashCode(callSuper = false)
public class BookingAppointmentWebVO implements Serializable {
        //Patient
        @ApiModelProperty(value = "Patient 名称name前部分")
        private String firstNamePatient;
        @ApiModelProperty(value = "Patient 名称name后部分")
        private String lastNamePatient;
        // Chile 是childId  关联member  找到名称显示
        @ApiModelProperty(value = "Patient Chile")
        private String childName;

        @ApiModelProperty(value = "Patient email")
        private String emailPatient;
        @ApiModelProperty(value = "Patient 0 女 1 男 -1 未知")
        private Integer genderPatient;
        @ApiModelProperty(value = "Patient Age")
        private Integer agePatient;
        @ApiModelProperty(value = "Patient Mobile")
        private String phonePatient;

        @ApiModelProperty("Patient Profile 问诊使用的配套类型0:retail 1:AIA corporate;2:Direct corporate;3:AIA Healthshield;4:Subscription")
        private Integer planTypePatient;

        // Doctor
        @ApiModelProperty("Doctor name firstName")
        private String firstNameDoctor;
        @ApiModelProperty("Doctor name lastName")
        private String lastNameDoctor;
        // 关联  clinicId 找到名称
        @ApiModelProperty("Doctor Clinic")
        private String clinicName;
        // Paediatrican  预约的科室  关联  specialisationId  找到名称  新需求根据 科室的 identification 字段去关联
        @ApiModelProperty("specialisation name")
        private String specialisationName;
        @ApiModelProperty("specialisation Identification")
        private String specialisationIdentification;
        @ApiModelProperty(value = "预约的时间开始")
        private Date appointmentTime;
        @ApiModelProperty(value = "预约的时间结束")
        private Date appointmentEndTime;
        @ApiModelProperty(value = "预约类型 1in-clinic 2:video 3:text-based ")
        private Integer appointmentType;
        @ApiModelProperty("问诊类型1online(在线问诊) 5offline(线下问诊) 6text-based")
        private Integer consultationType;
        @ApiModelProperty(value = "Consultation no")
        private String code;
        @ApiModelProperty(value = "预约状态 1:pending 2:confirmed 3:cancelled")
        private Integer appointmentStatus;

        //连接表  booking_symptom
        @ApiModelProperty(value = "Symptoms")
        private String symptomName;
        // Referral letter  连接表   tbl_booking_referral_letter_photo  将照片拼接起来
        @ApiModelProperty(value = "Referral letter")
        private String referralLetterPhoto;
        // Emergency contact  紧急联系人中的字段  contact:tbl_booking_emergency_contact
        @ApiModelProperty("Emergency contact firstName")
        private String firstNameEmergencyContact;
        @ApiModelProperty("Emergency contact lastName")
        private String lastNameEmergencyContact;
        @ApiModelProperty(value = "Emergency contact relationship")
        private String relationshipEmergencyContact;
        @ApiModelProperty(value = "Emergency contact phone")
        private String phoneEmergencyContact;


        @ApiModelProperty("实体ID")
        private String id;
        @ApiModelProperty("创建时间Utc")
        private Long createdOnUtc;
        @ApiModelProperty("创建人名称")
        private String createdByName;


        @ApiModelProperty("公司id")
        private String companyId;
        @ApiModelProperty("诊所id")
        private String clinicId;

}